package com.atbun.eduservice.service.impl;

import com.atbun.eduservice.entity.EduComment;
import com.atbun.eduservice.mapper.EduCommentMapper;
import com.atbun.eduservice.service.EduCommentService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 评论 服务实现类
 * </p>
 *
 * @author testjava
 * @since 2020-05-06
 */
@Service
public class EduCommentServiceImpl extends ServiceImpl<EduCommentMapper, EduComment> implements EduCommentService {

    /**
     * 分页获取评论数据
     * @param page
     * @param queryWrapper
     */
    @Override
    public void getCommentPage(Page<EduComment> page, QueryWrapper<EduComment> queryWrapper) {
        this.baseMapper.selectPage(page,queryWrapper);
    }
}
